package edu.seu.mart.service;

import edu.seu.mart.entity.Pager;
import edu.seu.mart.model.Knowledge;

import java.util.List;

/**
 * Created by asus on 2015/3/20.
 */
public interface IChatService {

    public List<Knowledge> findAllKnowledge();

    public String getKnowledgeSub(int knowdgeId);

    public  void creatIndexDir();

    public  Knowledge searchIndex(String content);
    
    public  String getDefaultAnswer();

    public String getIndexDir();

    public String chat(String question);

    Knowledge load(int knowledgeId);

    void update(Knowledge knowledge);

    void save(Knowledge knowledge);

    void delete(int knowledgeId);

    public Pager<Knowledge> findAllPagerKnowledge();
}
